FROM nginx:latest

RUN mkdir /dist
COPY ./localhost.conf /etc/nginx/conf.d/default.conf
COPY ./dist /www/dist

ENV BACKEND_URL=""
ENV BACKEND2_URL=""

CMD cat /etc/nginx/conf.d/default.conf \
	&& nginx -g 'daemon off;'
